﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Log_list.aspx.cs" Inherits="SysManage_LogManage_Log_list" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
  <title>无标题页</title>
     <link rel="stylesheet" href ="../../css/css.css" type="text/css" />
     <!--#include file="../../JS/TDTextBoxControl.js"-->
         <script src="../../Js/calendar.js" type ="text/javascript"></script>
         
     <script language="javascript" type="text/javascript"  >
function GetRowInfo(obj)
{
 form1.Hobj.value = obj;
 var ary = obj.split('|'); 
 form1.HID.value = ary[0];   //角色代码 
}

 var tgs; 
 var tmp_background_val; 
 function tog(n,flags)
 { 
    //傳過來本次點擊前的的背景顏色 
    if (tgs){ 
     tgs.style.background= tmp_background_val ; 
    } 
    //考慮到連續點同一個對象的情況,就不要改變保留的顏色 
    n.style.background= '#A7C0F9' ; 
    tmp_background_val=flags;
    tgs=n; 
 } 
</script>
</head>
<body style =" background-image :url('../../images/hit_bg.gif');">
<% 
  Response .ExpiresAbsolute=System.DateTime.Now. AddSeconds(-1);
  Response.Expires=0;
  Response.CacheControl = "no-cache";
%>
   <form id="form1" runat="server">
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="0">
 <tr>
    <td>
       <table  style ="height :30; " width="100%" border="0" align="center" cellpadding="2" cellspacing="0" >
        <tr> 
          <td>日志类别：<asp:DropDownList ID="LogType" DataValueField ="ID"  DataTextField ="Name" runat="server" ></asp:DropDownList>
              开始时间：<asp:TextBox ID="sSTime" runat ="server" Width="100" TabIndex ="1"  onclick="calendardate(this,true);" ></asp:TextBox>
                <select id="SHour" runat ="server">
            <option value ="00">00</option>
            <option value ="01">01</option>
            <option value ="02">02</option>
            <option value ="03">03</option>
            <option value ="04">04</option>
            <option value ="05">05</option>
            <option value ="06">06</option>
            <option value ="07">07</option>
            <option value ="08">08</option>
            <option value ="09">09</option>
            <option value ="10">10</option>
            <option value ="11">11</option>
            <option value ="12">12</option>
            <option value ="13">13</option>
            <option value ="14">14</option>
            <option value ="15">15</option>
            <option value ="16">16</option>
            <option value ="17">17</option>
            <option value ="18">18</option>
            <option value ="19">19</option>
            <option value ="20">20</option>
            <option value ="21">21</option>
            <option value ="22">22</option>
            <option value ="23">23</option>                    
          </select>：
                <select id="SMinute" runat ="server">
            <option value ="00">00</option>
            <option value ="01">01</option>
            <option value ="02">02</option>
            <option value ="03">03</option>
            <option value ="04">04</option>
            <option value ="05">05</option>
            <option value ="06">06</option>
            <option value ="07">07</option>
            <option value ="08">08</option>
            <option value ="09">09</option>
            <option value ="10">10</option>
            <option value ="11">11</option>
            <option value ="12">12</option>
            <option value ="13">13</option>
            <option value ="14">14</option>
            <option value ="15">15</option>
            <option value ="16">16</option>
            <option value ="17">17</option>
            <option value ="18">18</option>
            <option value ="19">19</option>
            <option value ="20">20</option>
            <option value ="21">21</option>
            <option value ="22">22</option>
            <option value ="23">23</option>
            <option value ="24">24</option>
            <option value ="25">25</option>
            <option value ="26">26</option>
            <option value ="27">27</option>
            <option value ="28">28</option>
            <option value ="29">29</option>
            <option value ="30">30</option>
            <option value ="31">31</option>
            <option value ="32">32</option>
            <option value ="33">33</option>
            <option value ="34">34</option>
            <option value ="35">35</option>
            <option value ="36">36</option>
            <option value ="37">37</option>
            <option value ="38">38</option>
            <option value ="39">39</option>
            <option value ="40">40</option>
            <option value ="41">41</option>
            <option value ="42">42</option>
            <option value ="43">43</option>
            <option value ="44">44</option>
            <option value ="45">45</option>
            <option value ="46">46</option>
            <option value ="47">47</option>
            <option value ="48">48</option>
            <option value ="49">49</option>
            <option value ="50">50</option>
            <option value ="51">51</option>
            <option value ="52">52</option>
            <option value ="53">53</option>
            <option value ="54">54</option>
            <option value ="55">55</option>
            <option value ="56">56</option>
            <option value ="57">57</option>
            <option value ="58">58</option>
            <option value ="59">59</option>                    
          </select>
          
            结束时间：<asp:TextBox ID="sETime" runat ="server" Width="100" TabIndex ="2"  onclick="calendardate(this,true);"></asp:TextBox>
              <select id="EHour" runat ="server">                        
            <option value ="00">00</option>
            <option value ="01">01</option>
            <option value ="02">02</option>
            <option value ="03">03</option>
            <option value ="04">04</option>
            <option value ="05">05</option>
            <option value ="06">06</option>
            <option value ="07">07</option>
            <option value ="08">08</option>
            <option value ="09">09</option>
            <option value ="10">10</option>
            <option value ="11">11</option>
            <option value ="12">12</option>
            <option value ="13">13</option>
            <option value ="14">14</option>
            <option value ="15">15</option>
            <option value ="16">16</option>
            <option value ="17">17</option>
            <option value ="18">18</option>
            <option value ="19">19</option>
            <option value ="20">20</option>
            <option value ="21">21</option>
            <option value ="22">22</option>
            <option value ="23" selected ="selected" >23</option>                    
          </select>：
              <select id="EMinute" runat ="server">
            <option value ="00">00</option>
            <option value ="01">01</option>
            <option value ="02">02</option>
            <option value ="03">03</option>
            <option value ="04">04</option>
            <option value ="05">05</option>
            <option value ="06">06</option>
            <option value ="07">07</option>
            <option value ="08">08</option>
            <option value ="09">09</option>
            <option value ="10">10</option>
            <option value ="11">11</option>
            <option value ="12">12</option>
            <option value ="13">13</option>
            <option value ="14">14</option>
            <option value ="15">15</option>
            <option value ="16">16</option>
            <option value ="17">17</option>
            <option value ="18">18</option>
            <option value ="19">19</option>
            <option value ="20">20</option>
            <option value ="21">21</option>
            <option value ="22">22</option>
            <option value ="23">23</option>
            <option value ="24">24</option>
            <option value ="25">25</option>
            <option value ="26">26</option>
            <option value ="27">27</option>
            <option value ="28">28</option>
            <option value ="29">29</option>
            <option value ="30">30</option>
            <option value ="31">31</option>
            <option value ="32">32</option>
            <option value ="33">33</option>
            <option value ="34">34</option>
            <option value ="35">35</option>
            <option value ="36">36</option>
            <option value ="37">37</option>
            <option value ="38">38</option>
            <option value ="39">39</option>
            <option value ="40">40</option>
            <option value ="41">41</option>
            <option value ="42">42</option>
            <option value ="43">43</option>
            <option value ="44">44</option>
            <option value ="45">45</option>
            <option value ="46">46</option>
            <option value ="47">47</option>
            <option value ="48">48</option>
            <option value ="49">49</option>
            <option value ="50">50</option>
            <option value ="51">51</option>
            <option value ="52">52</option>
            <option value ="53">53</option>
            <option value ="54">54</option>
            <option value ="55">55</option>
            <option value ="56">56</option>
            <option value ="57">57</option>
            <option value ="58">58</option>
            <option value ="59" selected ="selected" >59</option>                    
          </select>
            <asp:Button ID="btnSearch" runat="server" cssclass="button03" Text="查询" />
          </td>
        </tr>
      </table>
      </td>
    </tr>
    <tr>
      <td style="width:100%" valign ="top" >             
   <asp:GridView ID="GridView1" runat="server" Width="100%" DataKeyNames="id" OnRowDataBound="GridView1_RowDataBound"
    ForeColor="#333333" AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True"  PageSize="20" EmptyDataText="没搜索到相匹配的数据"  BorderColor="#F9F9FB" BorderStyle="Dotted" GridLines="Vertical"  >        
    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="#F9F9FB" />
    <RowStyle BackColor="#F9F9FB" ForeColor="#333333" Height="24px"  BorderStyle="Dotted" />
    <AlternatingRowStyle BackColor="#EFEFF8" />
    <HeaderStyle BackColor="#E3E7F0" Height="25px" />
        <PagerTemplate>
            <table width="100%">
                <tr>
                    <td width="70%" align="right">
                        <asp:LinkButton CommandName="Page" CommandArgument="First" ID="linkBtnFirst" runat="server">首页</asp:LinkButton>
                        <asp:LinkButton CommandName="Page" CommandArgument="Prev" ID="linkBtnPrev" runat="server">上一页</asp:LinkButton>
                        <asp:LinkButton CommandName="Page" CommandArgument="Next" ID="linkBtnNext" runat="server">下一页</asp:LinkButton>
                        <asp:LinkButton CommandName="Page" CommandArgument="Last" ID="linkBtnLast" runat="server">尾页</asp:LinkButton>
                        <asp:TextBox ID="txtGoPage" class="INPUT" runat="server" MaxLength="5" Width="15px"></asp:TextBox>
                        <asp:LinkButton ID="linkBtnGo" runat="server" OnClick="linkBtnGo_Click">跳转</asp:LinkButton>
                        <asp:Label ID="labMessage" runat="server" ForeColor="Red"></asp:Label></td>
                    <td width="30%" align="right">
                        <asp:Label ID="CurrentPageLabel" runat="server" ForeColor="Blue" Text="第1页 共5页 共89条"></asp:Label>
                    </td>
                </tr>
            </table>
        </PagerTemplate>
        <Columns>
            <asp:TemplateField>
              <ItemTemplate>
                  <%#(Container.DataItemIndex+1) %>
              </ItemTemplate>
              <HeaderTemplate >编号</HeaderTemplate>
                <HeaderStyle HorizontalAlign="Center" Width="5%" />
                <ItemStyle Width="5%" HorizontalAlign="center"  />
            </asp:TemplateField>
            <asp:BoundField DataField="TypeName" HeaderText="日志类别" SortExpression="TypeName">
                <ItemStyle Width="8%" HorizontalAlign="Left" />
            </asp:BoundField>
            <asp:BoundField DataField="PerName" HeaderText="操作人" SortExpression="PerName">
                <ItemStyle Width="8%" HorizontalAlign="Left" />
            </asp:BoundField>
            <asp:BoundField DataField="ip" HeaderText="IP" SortExpression="ip">
                <ItemStyle Width="8%" HorizontalAlign="Left" />
            </asp:BoundField>
            <asp:BoundField DataField="content" HeaderText="内容" SortExpression="content">
                <ItemStyle  HorizontalAlign="Left" />
            </asp:BoundField>
            <asp:BoundField DataField="opdt" HeaderText="操作日期" SortExpression="opdt">
                <ItemStyle Width="18%" HorizontalAlign="Left" />
            </asp:BoundField>
        </Columns>
    </asp:GridView>
      </td>
    </tr>
 </table> 
     <input type="hidden"  id="Hobj" />
     <input type="hidden"  id="HID" runat ="server"  />
     <asp:Button ID="BtnExport" runat="server"  Text="Button" Width="0px" Height="0px" />
        <asp:Button ID="BtnDel" runat="server" Text="Button" Width="0px" Height="0px" />
        <asp:Button ID="BtnDispDel" runat="server" Text="Button" Width="0px" Height="0px" />
        <asp:Button ID="BtnHideDel" runat="server" Text="Button" Width="0px" Height="0px" />
        <asp:Button ID="BtnRefresh" runat="server" Text="Button" Width="0px" Height="0px" />
        <asp:Button ID="BtnResume" runat="server" Text="Button" Width="0px" Height="0px" />
    </form>
</body>
</html>


